home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / lisp / oobr / tree-x / Makefile < prev    next >
Encoding:
Makefile  |  1995-08-29  |  1.9 KB  |  67 lines

  1. #
  2. # SUMMARY:      What's new in this version of the OO-Browser?
  3. #
  4. # AUTHOR:       Bob Weiner / Mark Stern
  5. #
  6. # ORIG-DATE:    15-Oct-90
  7. # LAST-MOD:     28-Aug-95 at 18:25:43 by Bob Weiner
  8. #
  9. # Copyright (C) 1990-1995  Free Software Foundation, Inc.
  10. # See the file BR-COPY for license information.
  11. #
  12. # This file is part of the OO-Browser.
  13.  
  14. # Use -DHAVE_USLEEP if usleep() is a valid system call. Otherwise, comment
  15. # out this line or set its value to be empty, in which case the definition in
  16. # "usleep.c" will be used..
  17. DEFINES         = -DHAVE_USLEEP
  18. # Use the line below instead under Solaris.
  19. # DEFINES         = -DSYSV
  20.  
  21. # Root directory of your X distribution.  Note how this is used in succeeding
  22. # variables.
  23. XROOT           = /usr/moto/X11R5
  24. LD_LIBRARY_PATH = $(XROOT)/lib
  25. INCLUDEDIRS     = -I$(XROOT)/include
  26. LIBDIRS         = -L$(XROOT)/lib
  27.  
  28. # C compiler
  29. CC        = gcc
  30. # Compiler flags
  31. CFLAGS        = -g -O $(INCLUDEDIRS) $(DEFINES)
  32.  
  33. # Linker flags.  Remove the -static for dynamic linking, e.g. under Linux.
  34. # LDFLAGS        = -static $(LIBDIRS) -lXaw -lXmu -lXt -lX11 -lXext
  35. # Use the line below instead under Solaris.
  36. LDFLAGS        = $(LIBDIRS) -lXaw -lXmu -lXt -lX11 -lXext -lsocket
  37.  
  38. # Set this to be the directory in which to install the X OO-Browser
  39. # executable.  Use 'make install'.
  40. BINDIR          = /usr/local/infodock/bin
  41.  
  42. NAME        = xoobr
  43. C_FILES     = draw.c tree.c input.c dissolve.c dbl.c intf.c usleep.c
  44. O_FILES        = draw.o tree.o input.o dissolve.o dbl.o intf.o usleep.o
  45. INC_FILES    = defs.h tree.h input.h dissolve.h dbl.h rsrc.h intf.h help.h
  46. SRC_FILES    = $(INC_FILES) $(C_FILES)
  47.  
  48. $(NAME):    $(O_FILES)
  49.         $(CC) $(CFLAGS) -o $(NAME) $(O_FILES) $(LDFLAGS)
  50.  
  51. install:    $(NAME)
  52.         chmod 755 $(NAME)
  53.         mv $(NAME) $(BINDIR)/$(NAME)
  54.  
  55. clean:
  56.         rm -f *.o *.orig *.rej $(NAME) core *~
  57.  
  58. size:
  59.         wc $(SRC_FILES)
  60.  
  61. dbl.o:         dbl.h 
  62. dissolve.o:    dissolve.h
  63. draw.o:     defs.h tree.h dbl.h intf.h
  64. input.o:     defs.h tree.h input.h
  65. intf.o:     defs.h tree.h dbl.h intf.h rsrc.h input.h help.h
  66. tree.o:     defs.h tree.h intf.h
  67.